<div id="mws-login-wrapper">
    <div id="mws-login">
        <h1>Login</h1>
        <div class="mws-login-lock"><img src="css/icons/24/locked-2.png" alt="" /></div>
        <div id="mws-login-form">
            <form class="mws-form" action="<?php echo BASE_URL; ?>service/auth" method="post">
                <div class="mws-form-row">
                    <div class="mws-form-item large">
                        <input type="text" name="cpf" id="cpf" class="mws-login-username mws-textinput required" placeholder="CPF" />
                    </div>
                </div>
                <div class="mws-form-row">
                    <div class="mws-form-item large">
                        <input type="password" name="senha" class="mws-login-password mws-textinput required" placeholder="Senha" />
                    </div>
                </div>
                <div class="mws-form-row mws-inset">
                    <ul class="mws-form-list inline">
                        <li><input type="checkbox" /> <label>Remember me</label></li>
                    </ul>
                </div>
                <div class="mws-form-row">
                    <input type="submit" value="Login" class="mws-button green mws-login-button" />
                    <a href="<?php echo BASE_URL; ?>membro/cadastro"><input type="button" value="Cadastre-se" class="mws-button blue mws-login-button" /></a>
                </div>
            </form>
        </div>
    </div>
</div>

<?php
$explode = explode("?", $_SERVER["REQUEST_URI"]);
$msg = "";

if (isset($explode[1])) {
    $msg = $explode[1];
}
?>

<script type="text/javascript">
    $("#cpf").mask("999.999.999-99");

    if ("<?php echo $msg; ?>" != "") {
        contHideNotif = 1;
        addNotify("<?php echo $msg; ?>");
    }
</script>